package com.xihuanjun.healthcode.entity.dto;

import com.xihuanjun.validate.annotation.Validate;
import com.xihuanjun.validate.enums.ValidateType;
import lombok.Data;

import java.util.Date;

/**
 * @author: 江溪浣
 * @createDate: 2022/10/25 14:07
 * @description:
 */
@Data
public class ChangeRecordDTO {

    @Validate(value="编号",type = ValidateType.UPDATE)
    private Long id;

    @Validate("姓名")
    private String name;

    @Validate("证件类型")
    private Integer cardType;

    @Validate("证件号")
    private String idCard;

    @Validate("电话")
    private String phone;

    @Validate("赋码类型")
    private Integer changeType;

    @Validate("地址")
    private String address;
    //人员分类
    @Validate("人员类型")
    private Integer personType;
    //来源地
    @Validate("来源地")
    private String fromArea;

    private Integer createUser;

    private String createUserName;
    private String remark;

    private Date startTime;

    private Date endTime;
}
